package com.junjie.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User implements Serializable {
    private Integer id;
    private String username;
    private String password;
    private String salt;
    private String realName;
    private Integer sex;
    private Integer age;
    private String birth;
    private String tel;
    private String idCard;
    private String position;
    private Integer apt_id;
    private String aptName;
    private String roomId;
    private String inTime;
    private String email;
    private Integer ruleId;
    private Integer status;


    public void setAptId(Integer aptId){
        this.apt_id =aptId;
    }

    public Integer getAptId(){
        return  apt_id ;
    }
}
